import request from '@/utils/request'

export function listFileRecord(query) {
  return request({
    url: '/system/fileRecord/list',
    method: 'get',
    params: query
  })
}
// export function delFileRecord(compFeeIds) {
//   return request({
//     url: '/system/fileRecord/' + compFeeIds,
//     method: 'delete'
//   })
// }
export function fileRecordAdd(data) {
  return request({
    url: '/system/fileRecord',
    method: 'post',
    data: data
  })
}
export function updategFileRecord(data) {
  return request({
    url: '/system/fileRecord',
    method: 'put',
    data: data
  })
}
export function fileRecordInfo(query) {
  return request({
    url: '/system/fileRecord/' + query.fileRecordId,
    method: 'get',
    // params: query
  })
}